package com.bsj.sipgateway.sip.transmit.request.impl;


import com.bsj.sipgateway.sip.transmit.request.SIPRequestAbstractProcessor;

import javax.sip.InvalidArgumentException;
import javax.sip.RequestEvent;
import javax.sip.SipException;
import java.text.ParseException;

/**    
 * @Description: BYE请求处理器
 * @author bsj-chenjunkang
 * @date 2022/8/31
 */
public class ByeRequestProcessor extends SIPRequestAbstractProcessor {

	/**
	 * 处理BYE请求
	 * @param evt
	 */
	@Override
	public void process(RequestEvent evt) {
		try {
			responseAck(evt);
		} catch (SipException e) {
			e.printStackTrace();
		} catch (InvalidArgumentException e) {
			e.printStackTrace();
		} catch (ParseException e) {
			e.printStackTrace();
		}
		
	}

}
